/**
 * @file button_callback.h
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2024-04-04
 * 
 * @copyright Copyright (c) 2024
 * 
 */

#ifndef __BUTTONCALLBACK_H
#define __BUTTONCALLBACK_H

#include "multi_button.h"
#include "gpio.h"

enum Button_IDs {
	btn1_id,
	btn2_id,
};

//按键与IO的定义
#define B1_GPIO_Port (KEY0_GPIO_Port)
#define B1_Pin (KEY0_Pin)



uint8_t read_button_GPIO(uint8_t button_id);
void BTN1_SINGLE_Click_Handler(void* btn);
void BTN1_PRESS_Down_Handler(void* btn);
#endif
